@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f9;
  color: #333;
}

.app {
  padding: 20px;
  max-width: 100%;
  margin: 0 auto;
}

h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 20px;
}

.example-selector {
  margin: 20px 0;
  text-align: center;
}

.example-selector select {
  padding: 10px;
  font-size: 16px;
  width: 320px;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: border-color 0.3s;
}

.example-selector select:focus {
  border-color: #3498db;
}

.three-column-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.column {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
  overflow-x: auto;
}

.column:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.code-display {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 5px;
  font-family: monospace;
  white-space: pre-wrap;
  overflow-x: auto;
  line-height: 1.95;
  font-size: 1em;
}

.summary {
  grid-column: 1 / -1;
  margin-top: 20px;
  padding: 20px;
  background-color: #e9ecef;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2, h3 {
  margin-top: 0;
  color: #34495e;
}

p {
  line-height: 1.6;
}

.MathJax_Display {
  margin: 1.5em 0 !important;
}

.MathJax {
  line-height: 1.95 !important;
  font-size: 1.3em !important;
}

.problem-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.problem-type {
  margin: 0;
  font-size: 1.2em;
  color: #2c3e50;
}

.correction-rate {
  background-color: #4CAF50;
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.9em;
  font-weight: 500;
} 